toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (epoch != null) 'epoch': epoch!,
      if (fullName != null) 'fullName': fullName!,
      if (inclusive != null) 'inclusive': inclusive!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (revision != null) 'revision': revision!,
    };