toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (encoding != null) 'encoding': encoding!,
      if (message != null) 'message': message!,
      if (name != null) 'name': name!,
      if (schema != null) 'schema': schema!,
    };