toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (codeId != null) 'codeId': codeId!,
      if (creationTime != null) 'creationTime': creationTime!,
      if (etag != null) 'etag': etag!,
      if (kind != null) 'kind': kind!,
      if (lastTimeUsed != null) 'lastTimeUsed': lastTimeUsed!,
      if (name != null) 'name': name!,
      if (userKey != null) 'userKey': userKey!,
    };