toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (attempt != null) 'attempt': attempt!,
      if (state != null) 'state': state!,
      if (stateDesc != null) 'stateDesc': stateDesc!,
      if (wait != null) 'wait': wait!,
    };