toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (displayName != null) 'displayName': displayName!,
      if (name != null) 'name': name!,
      if (pendingTasks != null) 'pendingTasks': pendingTasks!,
      if (premium != null) 'premium': premium!,
      if (state != null) 'state': state!,
      if (timeZone != null) 'timeZone': timeZone!,
    };