toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (errorFrameCount != null) 'errorFrameCount': errorFrameCount!,
      if (managed != null) 'managed': managed!,
      if (name != null) 'name': name!,
      if (pendingFrameCount != null) 'pendingFrameCount': pendingFrameCount!,
      if (priority != null) 'priority': priority!,
      if (state != null) 'state': state!,
      if (type != null) 'type': type!,
      if (updateTime != null) 'updateTime': updateTime!,
    };