toJson method

Map<String, dynamic> toJson()

Converts the builder job to JSON representation.

Returns a Map<String, dynamic> containing only the platform configurations that are present (non-null).

Implementation

Map<String, dynamic> toJson() => {
  if (android != null) "android": android?.toJson(),
  if (ios != null) "ios": ios?.toJson(),
};