toJsonHelper static method

Map<String, dynamic> toJsonHelper(
  1. Nutriments? n
)

Implementation

static Map<String, dynamic> toJsonHelper(Nutriments? n) => n?.toJson() ?? {};