toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (attemptCount != null) 'attemptCount': attemptCount!,
      if (failureReason != null) 'failureReason': failureReason!,
      if (instanceSystemId != null) 'instanceSystemId': instanceSystemId!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
    };