toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (env != null) 'env': env!,
      if (network != null) 'network': network!,
    };