toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (content != null) 'content': content!,
      if (file != null) 'file': file!,
      if (path != null) 'path': path!,
      if (permissions != null) 'permissions': permissions!,
      if (state != null) 'state': state!,
    };