toJson method

  1. @override
Map<String, Object?> toJson()

Implementation

@override
Map<String, Object?> toJson() => {
      if (childStanding != null) "child_standing": encodeValue(childStanding),
      if (management != null) "management": encodeValue(management),
      if (credentials != null) "credentials": encodeValue(credentials),
    };