toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (configuration != null) 'configuration': configuration!,
      if (errorResult != null) 'errorResult': errorResult!,
      if (id != null) 'id': id!,
      if (jobReference != null) 'jobReference': jobReference!,
      if (kind != null) 'kind': kind!,
      if (principalSubject != null) 'principal_subject': principalSubject!,
      if (state != null) 'state': state!,
      if (statistics != null) 'statistics': statistics!,
      if (status != null) 'status': status!,
      if (userEmail != null) 'user_email': userEmail!,
    };