value property

String value

Returns the uppercased HTTP method, e.g. 'POST'.

Implementation

String get value => name.toUpperCase();