toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final lastTransitionTime = this.lastTransitionTime;
  final message = this.message;
  final reason = this.reason;
  final state = this.state;
  final type = this.type;
  return {
    'lastTransitionTime': ?lastTransitionTime,
    'message': ?message,
    'reason': ?reason,
    'state': ?state,
    'type': ?type,
  };
}