toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (build != null) 'build': build!,
      if (config != null) 'config': config!,
      if (createTime != null) 'createTime': createTime!,
      if (name != null) 'name': name!,
      if (state != null) 'state': state!,
      if (stateMessage != null) 'stateMessage': stateMessage!,
      if (updateTime != null) 'updateTime': updateTime!,
    };